package cst.neu.yuejian_31.service;

import cst.neu.yuejian_31.bean.AddorderBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by xxe on 2017/10/29.
 */

public interface AddOrderService {
    @GET("Order/addorder")
    Call<AddorderBean> addOrder(@Query("user_id") String userId,
                                @Query("clubclass_id") String classId,
                                @Query("num") String num,
                                @Query("total") String total
    );
    @GET("Order/addorder")
    Call<AddorderBean> addOrdera(@Query("user_id") String userId,

                                 @Query("activity_id") String activity,
                                 @Query("num") String num,
                                 @Query("total") String total
    );
    @GET("Order/addorder")
    Call<AddorderBean> addOrdert(@Query("user_id") String userId,

                                 @Query("train_id") String activity,
                                 @Query("num") String num,
                                 @Query("total") String total
    );
}
